/* ==========================================
   VILARINHO TECH PORTFOLIO
   VERSION 1.0
========================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --primary: #fdfdfd;
  --primary-light: #047dffdb;
  --secondary: #ececf68d;

  --dark: #010a2c;
  --dark-card: #04eaff;

  --light: #ffffff;
  --white: #130909;
  --ms-text-justify: left;

  --text: #ffffff;
  --border: #000000;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  --shadow-hover: 0 20px 50px rgba(13, 110, 253, 0.15);

  --transition: 0.5s ease;
}

/* RESET */

* {
  margin: 0px;
  padding-left: 10px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0px) translateX(0px);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes orb1 {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(100px) translateY(-50px);
  }
  50% {
    transform: translateX(50px) translateY(-100px);
  }
  75% {
    transform: translateX(-50px) translateY(-50px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes orb2 {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-80px) translateY(60px);
  }
  50% {
    transform: translateX(-100px) translateY(30px);
  }
  75% {
    transform: translateX(-40px) translateY(80px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

body {
  font-family: "Inter", poppins;
  background: #010a2c;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(4, 234, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(13, 110, 253, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(117, 132, 210, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #010a2c 0%, #0a0f2c 50%, #0d0520 100%);
  background-size:
    200% 200%,
    200% 200%,
    200% 200%,
    100% 100%;
  background-position:
    0% 0%,
    0% 0%,
    0% 0%,
    0% 0%;
  animation: gradientShift 8s ease infinite;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 10% 30%,
      rgba(4, 234, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(13, 110, 253, 0.08) 0%,
      transparent 50%
    );
  animation: floatGlow 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(4, 234, 255, 0.05) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: orb1 15s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* container padrão */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* NAVBAR */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 999;

  backdrop-filter: blur(15px);

  background: rgba(0, 0, 0, 0.406);

  border-bottom: 1px solid rgb(246, 247, 252);

  transition: all 0.4s ease;
}

.navbar.scrolled {
  box-shadow: 0 5px 15px rgb(12, 210, 255);
}

/* Container da navbar */
.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 1px; /* Reduzido de 5% para 2% para aproximar dos cantos da tela */
  display: flex;
  justify-content: space-between; /* Garante logo na esquerda e menu na direita */
  align-items: center;
  width: 100%;
}
/* Menu */

.navbar ul {
  display: flex;
  align-items: center;
  gap: 40px;

  list-style: none;
  margin-right: 0; /* Força o menu a colar no final do bloco da direita */
}

/* Links */
.navbar a {
  text-decoration: none;

  color: var(--dark-card);

  font-weight: 700;

  position: relative;

  transition: 0.3s;
}

.navbar a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 3px;

  background: linear-gradient(90deg, var(--light), var(--secondary));

  transition: width 0.5s ease;
}

.navbar a:hover::after {
  width: 110%;
}

*.hero-grid {
  display: flex;
  justify-content: left; /* Mudado de space-between para center */
  align-items: left;
  gap: 500px; /* Controla a distância exata entre o texto e a foto (diminua se quiser mais perto) */
  position: relative;
  margin-bottom: 10px;
  max-width: 10000px; /* Limita a largura para eles não se espalharem em telas ultra-wide */
  margin: 0 auto; /* Centraliza o bloco inteiro na tela */
}

.hero-content {
  flex: 1;
  text-align: left;
  max-width: 300px; /* Evita que o texto estique demais para o lado */
}

.hero-image {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: left;
}

/* ===== AJUSTE EXTRA NO TÍTULO E TEXTO ===== */
#hero h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #04eaff, #0076ff, #06b6d4);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 800;
  letter-spacing: -1px;
}

#hero h2 {
  font-size: 1.2rem;
  background: linear-gradient(90deg, #04eaff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  margin-bottom: 15px;
  font-weight: 600;
}

#hero p {
  max-width: 500px;
  font-size: 0.95rem;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* SEÇÃO BAIXAR CURRÍCULO */

.btn-vc {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-vc:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.btn-cv::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.6s;
}

.btn-cv:hover::before {
  left: 120%;
}

.btn-cv:hover {
  transform: translateY(-4px);
}
/* BUTTONS */

.buttons {
  display: flex;

  justify-content: left;

  gap: 30px;

  flex-wrap: wrap;

  text-align: left;
}

.buttons a {
  padding: 25px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.buttons a:first-child {
  background: linear-gradient(80deg, var(--primary), var(--secondary));

  color: hsl(0, 0%, 0%);
}

.buttons a:last-child {
  border: 5px solid var(--primary);

  color: var(--primary);
}

.buttons a:hover {
  transform: translateY(-5px);
}

/* SECTIONS */

section {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 10px;
  padding-right: 10px;
}

section h2 {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #04eaff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  text-shadow: 0 2px 10px rgba(4, 234, 255, 0.1);
  letter-spacing: -0.5px;
}

/* GRID CARDS PROJETOS*/
/* ==========================================
   MINHA JORNADA
========================================== */

#results .grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;
}

#results .card {
  position: relative;

  background: #0c0c0d;

  border-radius: 32px;

  padding: 20px 30px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;

  transition: all 0.4s ease;

  overflow: hidden;
}

/* Linha azul superior */

#results .card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  height: 4px;

  background: linear-gradient(90deg, #00c6ff, #0072ff);
}

/* Ano */

#results .card h3 {
  display: inline-block;

  padding: 10px 20px;

  border-radius: 50px;

  background: linear-gradient(135deg, #00c6ff, #0072ff);

  color: #fff;

  font-size: 1.4rem;

  margin-bottom: 20px;
}

/* Texto */

#results .card p {
  color: #d8d8d8;

  line-height: 1.8;
}

/* Hover */

#results .card:hover {
  transform: translateY(-12px);

  border-color: rgba(0, 198, 255, 0.5);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(0, 198, 255, 0.25);
}

/* GRID */

.projects-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 30px;

  align-items: stretch;
}

/* CARD */

.project {
  display: flex;

  flex-direction: column;

  background: #0d0c0c;

  border-radius: 32px;

  padding: 20px;

  height: 100%;

  min-height: 420px;
}

/* CONTEÚDO */

.project-content {
  flex: 1;
}

/* BOTÃO */

.btn-project {
  margin-top: auto;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 100%;

  height: 50px;

  background: linear-gradient(135deg, #00c6ff, #0072ff);

  color: #fff;

  text-decoration: none;

  font-weight: 600;

  border-radius: 12px;

  transition: 0.3s;
}

.btn-project:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 20px rgba(0, 198, 255, 0.4);
}

/* BOTÕES DOS CARDS */

.btn-project,
.project .btn,
.card .btn {
  display: inline-block;

  background: #0d0c0c;

  color: #ffffff;

  padding: 12px 24px;

  border-radius: 12px;

  text-decoration: none;

  font-weight: 600;

  border: 2px solid transparent;

  transition: all 0.3s ease;
}

.btn-project:hover,
.project .btn:hover,
.card .btn:hover {
  background: transparent;

  color: #29c7ef;

  border: 2px solid #ffffff;

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card .content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card .btn-project {
  margin-top: auto;
}

/* ==========================================
   PROJECTS - EFEITO PREMIUM
========================================== */

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: nowrap; /* mantém na mesma linha */
}

/* CARD */

.project-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 420px;

  background: #0d0c0c;

  border-radius: 24px;

  padding: 20px;

  transition: all 0.45s ease;

  flex: 1;

  max-width: 420px;
}

/* CONTEÚDO */

.project-card .content {
  display: flex;
  flex-direction: column;

  flex: 1;
}

/* EFEITO DE FOCO */

.projects-grid:hover .project-card {
  transform: scale(0.88);

  opacity: 0.45;

  filter: blur(2px);
}

/* CARD SELECIONADO */

.projects-grid .project-card:hover {
  transform: scale(1.18);

  opacity: 1;

  filter: blur(0);

  z-index: 999;

  border: 1px solid rgba(0, 198, 255, 0.6);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 198, 255, 0.35);
}

/* IMAGEM */

.project-card img {
  width: 100%;

  border-radius: 16px;

  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* TÍTULO */

.project-card h3 {
  margin: 20px 0 12px;

  text-align: center;

  color: var(--primary);
}

/* BOTÃO PADRONIZADO */

.btn-project {
  margin-top: auto;

  width: 100%;

  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  font-weight: 600;

  color: #fff;

  border-radius: 12px;

  background: linear-gradient(135deg, #00c6ff, #0072ff);

  transition: all 0.35s ease;
}

.btn-project:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(0, 198, 255, 0.4),
    0 0 15px rgba(0, 198, 255, 0.25);
}
/* TIMELINE */

.timeline {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.timeline::before {
  content: "";

  position: absolute;

  left: 10px;
  top: 0;

  width: 4px;
  height: 100%;

  background: linear-gradient(var(--primary), var(--secondary));
}

.item {
  background: rgb(25, 24, 24);

  padding: 30px;

  border-radius: 20px;

  box-shadow: var(--shadow);
}

.item h3 {
  color: var(--primary);
}

/* CONTACT */

#contact {
  background: linear-gradient(140deg, var(--primary-light), #00fdfd);

  color: rgb(0, 0, 0);

  text-align: center;
}

#contact h2 {
  color: rgba(254, 254, 254, 0.907);
}

.contact-links {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  margin-top: 40px;
}

.contact-links a {
  text-decoration: none;

  color: rgb(217, 217, 217);

  padding: 15px 30px;

  border-radius: 50px;

  border: 1px solid rgba(255, 255, 255, 0.2);

  transition: 0.3s;
}

.contact-links a:hover {
  background: rgb(32, 30, 30);

  color: var(--primary);
}

/* SCROLLBAR */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 50px;

  background: linear-gradient(var(--primary), var(--secondary));
}

/* RESPONSIVO */

@media (max-width: 500px) {
  #hero h1 {
    font-size: 2.5rem;
  }

  #hero h2 {
    font-size: 1rem;
  }

  .navbar ul {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .section h2 {
    font-size: 2rem;
  }
}

.hero-grid {
  display: flex;
  flex-direction: row;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-image {
  flex: 0 0 350px;
  display: flex;

  justify-content: flex-end;

  margin-right: -40px;
  margin-top: -50px;
}

.hero-image img {
  width: 350px;
  height: 350px;

  object-fit: cover;

  border-radius: 50%;

  border: 8px solid rgba(156, 237, 250, 0.497);

  box-shadow: 0 20px 60px rgba(13, 110, 253, 0.2);

  transition: none;
}

.hero-image img:hover {
  transform: none;
}

.navbar a.active {
  color: var(--primary);
}

.navbar a.active::after {
  width: 100%;
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #25d366;
  text-decoration: none;

  z-index: 1000;

  animation: pulse-icon 1.8s infinite;
}

.whatsapp i {
  font-size: 48px;
  line-height: 1;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0));
  }

  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 0.8));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0));
  }
}
.hero-particles {
  position: absolute;

  width: 100%;
  height: 100%;

  overflow: hidden;

  z-index: 0;
}

.hero-particles span {
  position: absolute;

  display: block;

  width: 15px;
  height: 15px;

  border-radius: 50%;

  background: rgba(13, 110, 253, 0.15);

  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh);
  }

  100% {
    transform: translateY(-100px);
  }
}

.reveal {
  opacity: 0;

  transform: translateY(50px);

  transition: 0.8s;
}

.reveal.active {
  opacity: 1;

  transform: translateY(0);
}

/* IMAGEM */

.hero-image {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-content: center;
}

.profile-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(0, 212, 255, 0.3);
  box-shadow:
    0 0 25px rgba(0, 212, 255, 0.2),
    0 0 60px rgba(0, 212, 255, 0.1);
}

.profile-photo:hover {
  transform: scale(1.05);
}

.profile-photo:hover {
  transform: translateY(-10px) scale(1.02);

  box-shadow:
    0 0 35px rgba(142, 243, 254, 0.4),
    0 0 90px rgba(0, 229, 255, 0.25);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00d3ef;
  text-decoration: none;
  margin-left: 0; /* Força a logo a colar no início do bloco */
  padding-left: 0; /* Remove qualquer resquício de padding antigo */
  display: inline-block;
}

#typing-text {
  border-right: 3px solid #008eeddf;
  animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
  70% {
    border-color: transparent;
  }
}

section {
  padding: 10px;
}

section + section {
  margin: 0px;
}

#about .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
#about p {
  line-height: 1;
}

#skills ul {
  list-style: none;
  padding: 0;
}

#skills li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 1rem;
}

#skills li i {
  color: #0062ff;
  font-size: 1.1rem;
}

#skills li i {
  font-size: 1.2rem;
  background: linear-gradient(135deg, #00f5ff, #502ff4, #ff4fd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.tech-item {
  position: relative;
  cursor: pointer;
}

.tech-item i {
  font-size: 3rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.tech-item:hover i {
  transform: translateY(-8px) scale(1.15);
  color: #00d4ff;
}

/* Tooltip */

.tech-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #07fffb;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.tech-item:hover::after {
  opacity: 1;
  visibility: visible;
}

/*RECOMENDAÇÕES*/

/* ===== SECTION ===== */

#testimonials {
  padding: 90px 20px;
  text-align: center;
  background: transparent;
}

#testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #04eaff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: flex;
  gap: 30px;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100px);
  }
}

.testimonial-card {
  background: linear-gradient(135deg, #7584d2 0%, #5a63b0 100%);
  padding: 30px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(4, 234, 255, 0.3);
  border-color: rgba(4, 234, 255, 0.5);
}

/* IMAGEM */

.testimonial-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto 15px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover .testimonial-photo {
  transform: scale(1.1);
  border-color: rgba(4, 234, 255, 0.8);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #ffffff;
}

.testimonial-role {
  font-size: 13px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* CAMPO DE TEXTO MAIOR (RECOMENDAÇÃO) */
#testimonial-form textarea {
  min-height: 180px;
  max-height: 220px;
  overflow-y: auto;
}
#testimonial-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-style: italic;
}

#testimonial-form {
  display: flex;
  flex-direction: column;
  gap: 14px;

  max-width: 600px;
  margin: 50px auto;

  padding: 25px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 254, 254, 0.06);

  box-shadow: 0 10px 25px rgba(246, 240, 240, 0.995);
}
/* ===== BOTÃO ===== */

#testimonial-form input {
  width: 100%;
  padding: 14px 16px;

  border-radius: 12px;
  border: 1px solid rgba(249, 246, 246, 0.952);

  font-size: 14px;

  outline: none;
}

#testimonial-form button:hover {
  transform: translateY(-2px);
  background: #00b3d6;
}
/*LOGOS*/

.logo-itau {
  width: 80px;
  height: 80px;

  object-fit: contain;
}

.logo-boticario {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Ajuste específico Grupo Boticário */

html,
body {
  margin: 0;
  padding: 10px;
  overflow-x: hidden;
}

.logo-container {
  width: 90px;
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.logo-itau {
  max-width: 80px;
  max-height: 80px;

  width: auto;
  height: auto;

  object-fit: contain;
}

.logo-boticario {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Ajuste específico Grupo Boticário */
.logo-boticario {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

/* CONTAINER DOS CARDS DE EXPERIÊNCIA */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
/*CARDS EXPERIENCIAS */

.experience-card {
  width: 100%;
  max-width: 1200px;

  display: flex;
  align-items: center;
  gap: 20px;

  min-height: 180px;

  padding: 12px 18px;

  background: #1a2238;

  border-radius: 32px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s ease;
}
.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

#experience h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #f9fbfb;
}
.logo-container {
  width: 90px;
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover img {
  transform: scale(1.1);
  border-color: rgba(4, 234, 255, 0.8);
  box-shadow: 0 12px 30px rgba(4, 234, 255, 0.5);
}

.testimonial-card2 {
  background: linear-gradient(135deg, #7584d2 0%, #5a63b0 100%);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.testimonial-card2.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: fadeInSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.testimonial-card2:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(4, 234, 255, 0.3);
  border-color: rgba(4, 234, 255, 0.5);
}

.testimonial-card2 img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card2:hover img {
  transform: scale(1.1);
  border-color: rgba(4, 234, 255, 0.8);
  box-shadow: 0 12px 30px rgba(4, 234, 255, 0.5);
}

/* Garante que o parágrafo dentro do card ocupe o espaço correto */
.card-curiosidade p {
  margin: 0;
  flex-grow: 1; /* Força o texto a expandir o card verticalmente se necessário */
}

/* Estilos para títulos e spans dos cards de depoimento */
.testimonial-card h3,
.testimonial-card2 h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 700;
}

.testimonial-card span,
.testimonial-card2 span {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.testimonial-card p,
.testimonial-card2 p {
  line-height: 1.8;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* ===== EMOJIS PRO ===== */

.emoji-pro {
  display: inline-block;
  color: #00d4ff;
  font-style: normal; /* Garante que se usar ícones/fontes não fique em itálico */
  transition:
    transform 10s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.4s ease;
}

/* Em vez de flutuar o tempo todo, o elemento reage de forma elegante ao mouse */
.emoji-pro:hover {
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 0 8px var(--dark));
  /* Cria um leve brilho neon azul */
}

/* ===== ANIMAÇÃO PULSE PROFISSIONAL (Substituindo o Bounce) ===== */

.emoji-bounce {
  display: inline-block;
  color: #00d4ff;
  /* Uma animação de pulso estático muito mais discreta para chamar atenção a pontos-chave */
  animation: proPulse 3.5 infinite ease-in-out;
}

@media (max-width: 768px) {
  .emoji-pro,
  .emoji-bounce {
    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 15px;

    transform: none;
  }

  .emoji-pro:hover {
    transform: none;
  }

  .icone-fa {
    font-size: 2.5rem;
  }
}

@keyframes proPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(1.2);
  }
}
section {
  padding: 60px 5%;
  scroll-margin-top: 100px;
}

#typing-text {
  display: block;
  text-align: center;
  margin-left: 0;
}

/* 1. Reduz o espaçamento interno das seções (antes era 80px/90px) */
section {
  padding: 20px 5%; /* Reduzido drasticamente de 40px para 20px no topo/base */
  scroll-margin-top: 60px; /* Ajustado para o menu não cobrir o título ao scrollar */
}

/* 2. Remove ou diminui a margem extra entre seções consecutivas */
section + section {
  margin-top: 0px; /* Zerado para colar uma seção na outra */
}

/* 3. Ajusta o espaçamento específico de seções que tinham valores fixos muito altos */
#testimonials,
#testimonials-section {
  /* Verifique a ID exata usada no seu HTML */
  padding: 20px 20px; /* Antes estava 90px/100px */
}

/* 4. Ajusta a margem do título da seção se achar que ele está muito longe do conteúdo */
section h2 {
  text-align: center;
  margin-bottom: 30px; /* Reduzido de 50px para 30px */
  font-size: 2.5rem;
  color: #ffffff;
}

@media (max-width: 600px) {
  section {
    padding: 15px 5%; /* Super compacto no mobile */
  }
}

@media (max-width: 600px) {
  #hero h1,
  section h2,
  .project h3 {
    text-align: center; /* Centraliza apenas no celular para melhor encaixe */
  }
}

/* ===== ESTILIZAÇÃO DO CAMPO DE ANEXAR IMAGEM ===== */

/* Esconde o input padrão feio do navegador */
.file-upload-wrapper input[type="file"] {
  display: none;
}

/* Cria o novo botão customizado para o upload */
.custom-file-upload {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(1, 10, 44, 0.6);
  border: 1px dashed rgba(0, 212, 255, 0.4); /* Borda tracejada estilo upload */
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Efeito de passar o mouse no botão de anexo */
.custom-file-upload:hover {
  border-color: #00d4ff;
  color: #ffffff;
}

/* =========================
   CURIOSIDADES
========================= */

.cards-curiosidades {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.card-curiosidade {
  display: flex;
  align-items: center;

  gap: 25px;

  min-height: 120px;

  width: 100%;

  padding: 25px 35px;

  background: rgb(249, 249, 249);

  backdrop-filter: blur(15px);

  border: 1px solid rgb(245, 235, 235);

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  transition: all 0.3s ease;
}

.card-curiosidade:hover {
  animation: pulse 1.2s infinite;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.icone-fa {
  font-size: 3rem;
  color: #00d4ff;
  min-width: 60px;
  text-align: center;
  transition: 0.3s ease;
}

.card-curiosidade:hover .icone-fa {
  transform: scale(1.15);
  color: #1c73ee;
}

.card-curiosidade h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-curiosidade p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
  text-align: left;
}
/* Texto */
.card-curiosidade p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Efeito Pulse */
.card-curiosidade:hover {
  animation: pulse 1.2s infinite;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .card-curiosidade {
    flex-direction: column;

    text-align: center;

    gap: 15px;

    min-height: auto;

    padding: 25px 20px;
  }

  .icone-fa {
    font-size: 2.5rem;

    min-width: auto;
  }

  .card-curiosidade p {
    margin: 0;

    line-height: 1.6;

    font-size: 0.95rem;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .card-curiosidade {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
}

#about {
  padding: 30px 0;
}

#about .container {
  max-width: 1000px;
}

#about h2 {
  text-align: center;
  margin-bottom: 30px;
}

#about p {
  font-size: 1rem;
  line-height: 1.9;
  text-align: center;
  color: #d6d6d6;
}
/* GRID DOS PROJETOS */
.grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1400px; /* aumenta largura total */
  margin: 0 auto;
  padding: 0 20px;
}

/* CARD */
.project-card {
  width: 300px;
  max-width: 100%;
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  text-align: center; /* centraliza tudo */
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* PREVIEW */
.site-preview {
  height: 140px; /* menor altura */
  overflow: hidden;
}

.site-preview img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTEÚDO */
.content {
  padding: 15px;
}

.content h3 {
  font-size: 0.95rem; /* menor */
  margin-bottom: 8px;
  text-align: center;
}

.content p {
  font-size: 0.75rem; /* menor descrição */
  line-height: 1.4;
  color: #cbd5e1;
  margin-bottom: 12px;
  text-align: center;
}

/* BOTÕES */
.btn,
.btn-project {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(circle at 20% 20%, #0ea5e930, transparent 30%),
    radial-gradient(circle at 80% 30%, #8b5cf630, transparent 30%),
    radial-gradient(circle at 50% 80%, #06b6d430, transparent 30%);

  filter: blur(100px);

  animation: aurora 15s ease-in-out infinite alternate;
}

@keyframes aurora {
  from {
    transform: translate(-50px, -20px);
  }

  to {
    transform: translate(50px, 20px);
  }
}

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -2;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

  background-size: 60px 60px;

  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(60px);
  }
}

/* Reduz distância entre seções */
section {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Reduz espaço abaixo dos títulos */
.section-title {
  margin-bottom: 30px;
}

/* ==========================================
   AJUSTES EXCLUSIVOS PARA MOBILE
========================================== */
/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 60px 15px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* Títulos */

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Grids */

  .grid,
  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Cards */

  .card,
  .project-card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 18px;
    margin: 0;
  }

  /* Imagens */

  .site-preview img,
  .project-card img,
  .profile-image img,
  .hero img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Botões */

  .btn,
  .btn-project {
    width: 100%;
    max-width: 280px;
    margin: 15px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Projetos */

  .project-card:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  #curiosidades .grid {
    display: flex;

    flex-direction: column;

    gap: 15px;
  }

  #curiosidades .card {
    width: 100%;

    min-height: auto;

    padding: 20px;

    text-align: center;
  }

  #curiosidades .card h3 {
    margin-bottom: 10px;

    min-height: auto;
  }

  #curiosidades .card p {
    margin: 0;

    text-align: center;
  }
}

/* ==========================================
   CURIOSIDADES - MOBILE
========================================== */

@media (max-width: 768px) {
  #curiosidades {
    padding-top: 40px;
  }

  #curiosidades h2 {
    font-size: 2rem;

    line-height: 1.2;

    margin-bottom: 30px;

    text-align: center;
  }

  #curiosidades .grid {
    display: flex;

    flex-direction: column;

    gap: 15px;
  }

  #curiosidades .card {
    min-height: auto;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;
  }

  #curiosidades .card i,
  #curiosidades .card svg {
    font-size: 2rem;

    margin-bottom: 12px;
  }

  #curiosidades .card h3 {
    font-size: 1rem;

    margin: 0;
  }

  #curiosidades .card p {
    margin-top: 10px;

    font-size: 0.95rem;

    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .cards-curiosidades {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .card-curiosidade {
    min-height: auto;

    padding: 20px;
  }

  .icone-fa {
    font-size: 2.5rem;
  }

  .card-curiosidade p {
    font-size: 0.95rem;

    line-height: 1.6;
  }
}
